using MediatR;

namespace RAG.Domain.Events.User;

public class UserStatusChangedEvent : INotification
{
    public Guid UserId { get; }
    public string UserName { get; }
    public string OldStatus { get; }
    public string NewStatus { get; }
    public DateTime ChangedAt { get; }

    public UserStatusChangedEvent(Guid userId, string userName, string oldStatus, string newStatus, DateTime changedAt)
    {
        UserId = userId;
        UserName = userName;
        OldStatus = oldStatus;
        NewStatus = newStatus;
        ChangedAt = changedAt;
    }
} 